<template>
<div>
    <header>
				<p>
					<span>中国民生银行(正义路支行)东城区正义路甲3号</span>
					<span>搜索</span>
				</p>
	</header>
</div>
    
</template>

<script>

</script>

<style>
  header{
	position: fixed;
	top: 0;
	z-index: 2;
	height: 5rem;
	width: 100%;
	background: url(/static/images/8jybmhiywqpm0k30xn5ohodd0ot8ljti.png)  right no-repeat;
	/*背景图大小*/
	background-size: 2rem; 
	/*背景图额位置 第一个表示横向x轴 第二个表示纵向y轴*/
    background-position: 28.3rem 1rem;
	background-color: #ffd600;
}
header p span:first-of-type{
	display: inline-block;
	text-indent: 6rem;
	width: 80%;
	text-align: center;
	line-height: 5rem;
	font-size: 1.5rem;
	font-weight: 700;
	white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
header p span:nth-of-type(2){
	text-align: center;
	font-size: 1.2rem;
	float: right;
	margin-top: 3rem;
	margin-right: 2rem;
	
}
</style>

